package com.express.e.root.service;

import com.express.e.root.bean.User;

import java.util.List;

public interface UserService {

    User addUser(User user);

    Boolean delUser(Integer userId);

    User updateUser(User user);

    List userList();

    User queryById(Integer userId);

    User queryByPhone(String phone);

    User queryByCardId(String cardId);

    User queryByUserName(String name);

    Boolean userLogin(User user);
}
